/**
 * <copyright>
 * </copyright>
 *

 */
package net.maylander.bfcpublog.bfwb.brainfuckLanguage.util;

import net.maylander.bfcpublog.bfwb.brainfuckLanguage.*;

import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;

import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * The <b>Adapter Factory</b> for the model.
 * It provides an adapter <code>createXXX</code> method for each class of the model.
 * <!-- end-user-doc -->
 * @see net.maylander.bfcpublog.bfwb.brainfuckLanguage.BrainfuckLanguagePackage
 * @generated
 */
public class BrainfuckLanguageAdapterFactory extends AdapterFactoryImpl
{
  /**
   * The cached model package.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  protected static BrainfuckLanguagePackage modelPackage;

  /**
   * Creates an instance of the adapter factory.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public BrainfuckLanguageAdapterFactory()
  {
    if (modelPackage == null)
    {
      modelPackage = BrainfuckLanguagePackage.eINSTANCE;
    }
  }

  /**
   * Returns whether this factory is applicable for the type of the object.
   * <!-- begin-user-doc -->
   * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
   * <!-- end-user-doc -->
   * @return whether this factory is applicable for the type of the object.
   * @generated
   */
  @Override
  public boolean isFactoryForType(Object object)
  {
    if (object == modelPackage)
    {
      return true;
    }
    if (object instanceof EObject)
    {
      return ((EObject)object).eClass().getEPackage() == modelPackage;
    }
    return false;
  }

  /**
   * The switch that delegates to the <code>createXXX</code> methods.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  protected BrainfuckLanguageSwitch<Adapter> modelSwitch =
    new BrainfuckLanguageSwitch<Adapter>()
    {
      @Override
      public Adapter caseBrainfuckProgram(BrainfuckProgram object)
      {
        return createBrainfuckProgramAdapter();
      }
      @Override
      public Adapter caseSymbolDef(SymbolDef object)
      {
        return createSymbolDefAdapter();
      }
      @Override
      public Adapter caseAbstractMacroDef(AbstractMacroDef object)
      {
        return createAbstractMacroDefAdapter();
      }
      @Override
      public Adapter caseRegion(Region object)
      {
        return createRegionAdapter();
      }
      @Override
      public Adapter caseMacroDef(MacroDef object)
      {
        return createMacroDefAdapter();
      }
      @Override
      public Adapter caseParamDef(ParamDef object)
      {
        return createParamDefAdapter();
      }
      @Override
      public Adapter caseAbstractStmt(AbstractStmt object)
      {
        return createAbstractStmtAdapter();
      }
      @Override
      public Adapter caseSimpleStmt(SimpleStmt object)
      {
        return createSimpleStmtAdapter();
      }
      @Override
      public Adapter caseLoopStmt(LoopStmt object)
      {
        return createLoopStmtAdapter();
      }
      @Override
      public Adapter caseMacroCall(MacroCall object)
      {
        return createMacroCallAdapter();
      }
      @Override
      public Adapter caseBfValue(BfValue object)
      {
        return createBfValueAdapter();
      }
      @Override
      public Adapter caseSignedInt(SignedInt object)
      {
        return createSignedIntAdapter();
      }
      @Override
      public Adapter caseAbstractParamDef(AbstractParamDef object)
      {
        return createAbstractParamDefAdapter();
      }
      @Override
      public Adapter caseBlockStmt(BlockStmt object)
      {
        return createBlockStmtAdapter();
      }
      @Override
      public Adapter defaultCase(EObject object)
      {
        return createEObjectAdapter();
      }
    };

  /**
   * Creates an adapter for the <code>target</code>.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param target the object to adapt.
   * @return the adapter for the <code>target</code>.
   * @generated
   */
  @Override
  public Adapter createAdapter(Notifier target)
  {
    return modelSwitch.doSwitch((EObject)target);
  }


  /**
   * Creates a new adapter for an object of class '{@link net.maylander.bfcpublog.bfwb.brainfuckLanguage.BrainfuckProgram <em>Brainfuck Program</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see net.maylander.bfcpublog.bfwb.brainfuckLanguage.BrainfuckProgram
   * @generated
   */
  public Adapter createBrainfuckProgramAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link net.maylander.bfcpublog.bfwb.brainfuckLanguage.SymbolDef <em>Symbol Def</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see net.maylander.bfcpublog.bfwb.brainfuckLanguage.SymbolDef
   * @generated
   */
  public Adapter createSymbolDefAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link net.maylander.bfcpublog.bfwb.brainfuckLanguage.AbstractMacroDef <em>Abstract Macro Def</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see net.maylander.bfcpublog.bfwb.brainfuckLanguage.AbstractMacroDef
   * @generated
   */
  public Adapter createAbstractMacroDefAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link net.maylander.bfcpublog.bfwb.brainfuckLanguage.Region <em>Region</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see net.maylander.bfcpublog.bfwb.brainfuckLanguage.Region
   * @generated
   */
  public Adapter createRegionAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link net.maylander.bfcpublog.bfwb.brainfuckLanguage.MacroDef <em>Macro Def</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see net.maylander.bfcpublog.bfwb.brainfuckLanguage.MacroDef
   * @generated
   */
  public Adapter createMacroDefAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link net.maylander.bfcpublog.bfwb.brainfuckLanguage.ParamDef <em>Param Def</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see net.maylander.bfcpublog.bfwb.brainfuckLanguage.ParamDef
   * @generated
   */
  public Adapter createParamDefAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link net.maylander.bfcpublog.bfwb.brainfuckLanguage.AbstractStmt <em>Abstract Stmt</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see net.maylander.bfcpublog.bfwb.brainfuckLanguage.AbstractStmt
   * @generated
   */
  public Adapter createAbstractStmtAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link net.maylander.bfcpublog.bfwb.brainfuckLanguage.SimpleStmt <em>Simple Stmt</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see net.maylander.bfcpublog.bfwb.brainfuckLanguage.SimpleStmt
   * @generated
   */
  public Adapter createSimpleStmtAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link net.maylander.bfcpublog.bfwb.brainfuckLanguage.LoopStmt <em>Loop Stmt</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see net.maylander.bfcpublog.bfwb.brainfuckLanguage.LoopStmt
   * @generated
   */
  public Adapter createLoopStmtAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link net.maylander.bfcpublog.bfwb.brainfuckLanguage.MacroCall <em>Macro Call</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see net.maylander.bfcpublog.bfwb.brainfuckLanguage.MacroCall
   * @generated
   */
  public Adapter createMacroCallAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link net.maylander.bfcpublog.bfwb.brainfuckLanguage.BfValue <em>Bf Value</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see net.maylander.bfcpublog.bfwb.brainfuckLanguage.BfValue
   * @generated
   */
  public Adapter createBfValueAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link net.maylander.bfcpublog.bfwb.brainfuckLanguage.SignedInt <em>Signed Int</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see net.maylander.bfcpublog.bfwb.brainfuckLanguage.SignedInt
   * @generated
   */
  public Adapter createSignedIntAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link net.maylander.bfcpublog.bfwb.brainfuckLanguage.AbstractParamDef <em>Abstract Param Def</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see net.maylander.bfcpublog.bfwb.brainfuckLanguage.AbstractParamDef
   * @generated
   */
  public Adapter createAbstractParamDefAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link net.maylander.bfcpublog.bfwb.brainfuckLanguage.BlockStmt <em>Block Stmt</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see net.maylander.bfcpublog.bfwb.brainfuckLanguage.BlockStmt
   * @generated
   */
  public Adapter createBlockStmtAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for the default case.
   * <!-- begin-user-doc -->
   * This default implementation returns null.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @generated
   */
  public Adapter createEObjectAdapter()
  {
    return null;
  }

} //BrainfuckLanguageAdapterFactory
